# while 和 if 综合运用

import random

ran_num = random.randint(0, 100)
print(type(ran_num))

judge = True

while judge:
    in_num = eval(input("请输入一个整数："))
    if ran_num > in_num:
        print("小了")
    elif ran_num < in_num:
        print("大啦")
    else:
        print("恭喜你猜对啦，正确答案就是：" + str(ran_num))
        break



